Skip to content

Conversation

@mfordjody
Copy link
Contributor

@mfordjody mfordjody commented May 7, 2023

No description provided.

subname := fmt.Sprintf("hostname=%s image=%s", hc.GetHostname(), cc.GetContainerImage())
t := task.NewTask("Create Volume", subname, hc.GetSSHConfig())

if len(cc.GetContainerImage()) == 0 {
Copy link
Collaborator

@Wine93 Wine93 May 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, there is a default value for client container image, so maybe it's an useless branch. AND:

  • you should add a step to do checking, maybe step.Lamba is a good choice.
  • what is the purpose of those changes.

if err != nil {
return t, nil
}
} else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should prompt based on the actual volume size and the expected, rather than the container image.

@opencurveadmin
Copy link

@Wine93 @tsonglew PTAL

@caoxianfei1
Copy link

@mfordjody anything changed?

@mfordjody
Copy link
Contributor Author

mfordjody commented May 29, 2023

@mfordjody有什麼改變嗎?

I am currently unable to conduct testing because I have encountered the above situation @caoxianfei1

@caoxianfei1
Copy link

caoxianfei1 commented Jun 5, 2023

@mfordjody有什麼改變嗎?

I am currently unable to conduct testing because I have encountered the above situation @caoxianfei1

you can delete the container and retry it.

@mfordjody mfordjody closed this by deleting the head repository Jul 29, 2023
@mfordjody
Copy link
Contributor Author

Requires longer modification time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants